package com.banmajio.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 志愿活动签到签退表
 * </p>
 *
 * @author edm.northking.net
 * @since 2023-07-07
 */
@Data
public class VolunteerServiceActivitySignInOut extends BaseEntity {

    private Long id;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long voluntaryOrgId;

    private String voluntaryOrgName;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long volunteerServiceActivityId;

    private String volunteerServiceActivityName;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long volunteerInfoId;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    private String volunteerInfoName;

    private String signDate;

    @JsonFormat(locale = "zh" , timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
    private Date signInTime;

    @JsonFormat(locale = "zh" , timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
    private Date actualSignInTime;

    @JsonFormat(locale = "zh" , timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
    private Date signOutTime;

    @JsonFormat(locale = "zh" , timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
    private Date actualSignOutTime;

    private Integer signInType;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal signInLat;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal signInLng;

    private Integer signInIsInScope;

    private Integer signOutType;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal signOutLat;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal signOutLng;

    private Integer signOutIsInScope;

    private String showServiceHour;

    private List<VolunteerServiceActivitySignInOut> childSignOut;

    private Integer signInNums;
}
